package com.hanwei.uap.common.exception;

import com.hanwei.uap.common.constant.AppRetCode;

public class TimeoutException extends AppException {
    private static final long serialVersionUID = 1L;
    protected long timeout;

    public TimeoutException(long timeout) {
        super(AppRetCode.CMMN_BUF_TIMEOUT);
        this.timeout = timeout;
    }

    public long getTimeout() {
        return timeout;
    }
}